<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/views/common/includetag.jsp"%>

<!DOCTYPE html>
<html lang="en_US">
    <head>
        <title><spring:message code="app.batch.title" /></title>
        <link rel="stylesheet" type="text/css" href="${ctx}/assets/jqueryplugin/jquery-validation/css/jquery.validate.css" />
        <link rel="stylesheet" type="text/css" href="${ctx}/assets/bootstrap/bootstrap-datepicker/css/datepicker.css" />
        <script type="text/javascript" src="${ctx}/assets/jqueryplugin/jquery-validation/jquery.validate.min.js"></script>
        <script type="text/javascript" src="${ctx}/assets/jqueryplugin/jquery-validation/localization/messages_zh.min.js"></script>
        <script type="text/javascript" src="${ctx}/assets/bootstrap/bootstrap-datepicker/js/bootstrap-datepicker.js"></script>
		<script type="text/javascript" src="${ctx}/assets/bootstrap/bootstrap-datepicker/js/locales/bootstrap-datepicker.zh-CN.js"></script>
        <script type="text/javascript" src="${ctx}/static/js/manage/batch/edit.js"></script>
    </head>
    <body>
        <div class="clearfix"></div>
        <div class="row back-top-title">
			<div class="col-md-12">
				<a id="top_parent_menu_a" onclick="location.href='${ctx}/manage/batch'" href="javascript:void(0);"><spring:message code="app.batch.title" /></a>
				<span>&nbsp;<i class="fa fa-chevron-right"></i>&nbsp;<spring:message code="app.common.edit" /></span>
			</div>
		</div>
        
        <div class="row">
			<div class="col-md-12">
				<section class="panel paddingtop20">
                    <div class="panel-body">
                    	<form class="data-form form-horizontal" role="form" method="POST" action="">
                            <input type="hidden" name="id" value="${PARAM.id}" />
                            <div class="form-group">
                                <label for="mc" class="col-lg-2 col-sm-2 control-label"><spring:message code="app.batch.title.mc" /></label>
                                <div class="col-lg-8 col-sm-8">
                                    <input type="text" id="mc" name="mc" value="<c:out value="${PARAM.mc}" />" 
                                    	class="form-control required" maxLength="100" placeholder="<spring:message code="app.batch.placeholder.mc" />">
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="ksrq" class="col-lg-2 col-sm-2 control-label"><spring:message code="app.batch.title.ksrq" /></label>
                                <div class="col-lg-8 col-sm-8">
                                    <div class="form-group input-append date" id="ksrq" data-date="" data-date-format="yyyy-mm-dd" style="margin-bottom: -15px;">
										<input type="text" size="16" name="ksrq" value="<fmt:formatDate value="${PARAM.ksrq}" pattern="yyyy-MM-dd"/>" class="form-control required">
									    <span class="add-on"><i class="icon-th"></i></span>
									</div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="jsrq" class="col-lg-2 col-sm-2 control-label"><spring:message code="app.batch.title.jsrq" /></label>
                                <div class="col-lg-8 col-sm-8">
                                    <div class="form-group input-append date" id="jsrq" data-date="" data-date-format="yyyy-mm-dd" style="margin-bottom: -15px;">
										<input type="text" size="16" name="jsrq" value="<fmt:formatDate value="${PARAM.jsrq}" pattern="yyyy-MM-dd"/>" class="form-control required">
									    <span class="add-on"><i class="icon-th"></i></span>
									</div>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="sfsy" class="col-lg-2 col-sm-2 control-label"><spring:message code="app.batch.title.sfsy" /></label>
                                <div class="col-lg-8 col-sm-8">
                                    <select id="sfsy" name="sfsy" value="${PARAM.sfsy}" class="form-control required">
                                        <c:forEach var="item" items="${sfsys}">
											<option value="${item.code}" <c:if test="${PARAM.sfsy==item.code}">selected="selected"</c:if>>${item.name}</option>
										</c:forEach>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group">
								<label for="schoolCode" class="col-lg-2 col-sm-2 control-label"><spring:message code="app.batch.title.xxmc" /></label>
								<div class="col-lg-8 col-sm-8">
									<select id="schoolCode" name="schoolCode" value="${PARAM.schoolCode}" class="form-control required">
                                        <option value="100">南师附小</option>
                                        <option value="101">拉萨路小</option>
                                	</select>
                                </div>
							</div>
							<div class="form-group button-group">
								<label class="col-sm-2 control-label">&nbsp;</label>
								<div class="col-sm-7">
									<button type="submit" class="btn btn-primary submit"><spring:message code="app.common.action.submit" /></button>
                                    <a href="#none" class="btn btn-default btn-cancel"><spring:message code="app.common.action.cancel" /></a>
								</div>
							</div>
                        </form>
                    </div>
                </section>
            </div>
        </div>
    </body>
</html>